package com.alex.springbootdemo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "jwt")
@Component
@Data
public class SecurityConfiguration {

    private String tokenHeader;
    private String secret;
    private Integer expiration;
    private String tokenHead;
}
